import { createApp } from 'vue'
import './style.css'
import App from './App.vue'
import VueGridLayout from 'vue-grid-layout'
import router from './router'
import { Button, message, Carousel, Menu, Divider, Card, Row, Col, Slider, Layout, Radio, Drawer } from 'ant-design-vue'
import 'ant-design-vue/dist/antd.css' // or 'ant-design-vue/dist/antd.less'

const app = createApp(App)
app.use(Button).use(Carousel).use(Menu).use(Divider).use(Card).use(Row).use(Col).use(Slider).use(Layout)
app.use(Radio).use(Drawer)
app.use(VueGridLayout)
app.config.globalProperties.$message = message
app.use(router)
app.mount('#app')
